home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Utilities / Winter Shell 1.0d2 / Source / Libraries / ProgressLib / ProgressET.c next >
Encoding:
C/C++ Source or Header  |  1994-01-12  |  463 b   |  26 lines  |  [TEXT/KAHL]

  1. /* event table functions, called from event library in response to
  2.     events
  3.     
  4.     93/10/18 aih - created */
  5.  
  6. #include "EventLib.h"
  7. #include "ProgressLib.h"
  8.  
  9. static EventTableType gEventTable;
  10.     
  11. static void update(EventObjectType object)
  12. {
  13.     ProgressUpdate(object);
  14. }
  15.  
  16. const /* EventTableType */ void *ProgressEventTable(void)
  17. {
  18.     return(&gEventTable);
  19. }
  20.  
  21. void ProgressEventTableRegister(void)
  22. {
  23.     gEventTable.window.update = update;
  24.     EventTableRegister(&gEventTable);
  25. }
  26.